﻿#include "NSMainWindows.h"
#include "../AppDelegate.h"
#include "Platform/Platform.h"
#include "Windows.h"
#include "resource.h"

using namespace NIBIRU_ENGINE;

int WINAPI WinMain(HINSTANCE hInstance,
	HINSTANCE prevInstance,
	PSTR cmdLine,
	int showCmd)
{
	AppDelegate mAppDelegate;
	auto icon = ::LoadIcon(hInstance, MAKEINTRESOURCE(IDI_ICON));
    return NibiruEngine::Platform::EngineRunWithParam(hInstance, { 0, nullptr, icon });
}